library esri_shapefile;

class ShapeType {
  final int id;
  final String name;

  const ShapeType._(this.id, this.name);

  static const NULL = ShapeType._(0, 'Null');
  static const POINT = ShapeType._(1, 'Point');
  static const POINTZ = ShapeType._(11, 'PointZ');
  static const POINTM = ShapeType._(21, 'PointM');
  static const ARC = ShapeType._(3, 'Arc');
  static const ARCZ = ShapeType._(13, 'ArcZ');
  static const ARCM = ShapeType._(23, 'ArcM');
  static const POLYGON = ShapeType._(5, 'Polygon');
  static const POLYGONZ = ShapeType._(15, 'PolygonZ');
  static const POLYGONM = ShapeType._(25, 'PolygonM');
  static const MULTIPOINT = ShapeType._(8, 'MultiPoint');
  static const MULTIPOINTZ = ShapeType._(18, 'MultiPointZ');
  static const MULTIPOINTM = ShapeType._(28, 'MultiPointM');
  static const UNDEFINED = ShapeType._(-1, 'Undefined');
}


